<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 被async修饰过的函数 不论当前函数是否有返回值, 函数调用的结果是 promise
    async function fn(){ return 1 }
    console.log(fn())
  </script>
</body>
</html>